/******************************************************************************
 * @File name   :      IDealerInfoSync.java
 *
 * @Author      :      GUDONG
 *
 * @Date        :      2015年10月14日
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 Capgemini, Inc. All  Rights Reserved.
 * This software is published under the terms of the Capgemini Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2015年10月14日 下午4:48:49        GUDONG     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.crmdp.dealer.dealerinfosync.service;

import java.util.List;
import java.util.Map;

import com.cap.bts.crmdp.dealer.dealerinfosync.domain.DealerInfoRelMars;
import com.cap.bts.crmdp.dealer.masterdata.domain.MasterDataDealerInfo;
import com.cap.bts.framework.common.exception.AppException;
import com.cap.bts.framework.common.service.IBaseService;

/**
 *
 */
public interface IDealerInfoSyncService extends IBaseService{
    public void deleteDealerInfoSync() throws AppException;
    public void saveDealerInfoSync(DealerInfoRelMars dealerInfoRelMars) throws AppException;
    public void saveFile(List<Map<String, Object>> dataList) throws AppException;
    
    public DealerInfoRelMars getMarsTenantByDearId(Integer dealerId);
    
    public MasterDataDealerInfo getDealerInfoByDealerNum(String dealerNum);
}
